package com.wx.gof.pattern.creational.abstractfactory;

/**
 * @ClassName XiaoMiPhoneFactory
 * @Author wx
 * @Description 小米公司工厂
 * @Date 2018-12-02-22:39
 */
public class XiaoMiCompanyFactory extends PhoneCompanyFactory{
    @Override
    Phone getPhone() {
        return new XiaoMiPhone();
    }

    @Override
    Headset getHeadset() {
        return new XiaoMiHeadset();
    }
}
